<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    use HasFactory;
    protected $guarded = [];
    protected $primaryKey = 'username';
    protected $keyType = 'string';
    public $timestamps = false;

    public function Appointment()
    {
        return $this->hasMany(Appointment::class,'username','username');
    }
}
